<template>
  <div>我是异步组件</div>
</template>
<script setup lang="ts">
await new Promise(resolve => setTimeout(resolve, 2000))
console.log('异步组件加载完成')
</script>
<style lang="scss" scoped></style>
